/*    */ package com.qmsk.business.area.location.dao;
/*    */ 
/*    */ import com.qmsk.business.sys.basic.SupportDAO;
/*    */ import com.utils.gson.in.GsonHeadOneRow;
/*    */ import com.utils.gson.out.GsonEbRst;
/*    */ import java.sql.SQLException;
/*    */ import java.util.HashMap;
/*    */ import java.util.Map;
/*    */ import org.springframework.stereotype.Repository;
/*    */ 
/*    */ @Repository
/*    */ public class LocationDAO extends SupportDAO
/*    */ {
/*    */   public GsonEbRst getProvince()
/*    */     throws SQLException
/*    */   {
/* 23 */     Map params = new HashMap();
/* 24 */     return getGsonOfParams("selectProvince", params, false);
/*    */   }
/*    */ 
/*    */   public GsonEbRst getCity(Integer code)
/*    */     throws SQLException
/*    */   {
/* 36 */     Map params = new HashMap();
/* 37 */     params.put("code", code);
/* 38 */     return getGsonOfParams("selectCity", params, false);
/*    */   }
/*    */ 
/*    */   public GsonEbRst getCountries(Integer code)
/*    */     throws SQLException
/*    */   {
/* 50 */     Map params = new HashMap();
/* 51 */     params.put("code", code);
/* 52 */     return getGsonOfParams("selectCountries", params, false);
/*    */   }
/*    */ 
/*    */   public GsonHeadOneRow getLocationInfo(Object countryCode) throws SQLException
/*    */   {
/* 57 */     Map params = new HashMap();
/* 58 */     params.put("countryCode", countryCode);
/* 59 */     return getOneRowOfParams("getLocationInfo", params);
/*    */   }
/*    */ }

/* Location:           C:\Users\Administrator\Desktop\新建文件夹\WEB-INF\classes\
 * Qualified Name:     com.qmsk.business.area.location.dao.LocationDAO
 * JD-Core Version:    0.5.3
 */